home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sgbbrd.z / sgbbrd
Encoding:
Text File  |  2002-10-03  |  5.4 KB  |  199 lines

  1.  
  2.  
  3.  
  4. SSSSGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))                                                          SSSSGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SGBBRD - reduce a real general m-by-n band matrix A to upper bidiagonal
  10.      form B by an orthogonal transformation
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SGBBRD( VECT, M, N, NCC, KL, KU, AB, LDAB, D, E, Q, LDQ, PT,
  14.                         LDPT, C, LDC, WORK, INFO )
  15.  
  16.          CHARACTER      VECT
  17.  
  18.          INTEGER        INFO, KL, KU, LDAB, LDC, LDPT, LDQ, M, N, NCC
  19.  
  20.          REAL           AB( LDAB, * ), C( LDC, * ), D( * ), E( * ), PT( LDPT,
  21.                         * ), Q( LDQ, * ), WORK( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      SGBBRD reduces a real general m-by-n band matrix A to upper bidiagonal
  38.      form B by an orthogonal transformation: Q' * A * P = B. The routine
  39.      computes B, and optionally forms Q or P', or computes Q'*C for a given
  40.      matrix C.
  41.  
  42.  
  43. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  44.      VECT    (input) CHARACTER*1
  45.              Specifies whether or not the matrices Q and P' are to be formed.
  46.              = 'N': do not form Q or P';
  47.              = 'Q': form Q only;
  48.              = 'P': form P' only;
  49.              = 'B': form both.
  50.  
  51.      M       (input) INTEGER
  52.              The number of rows of the matrix A.  M >= 0.
  53.  
  54.      N       (input) INTEGER
  55.              The number of columns of the matrix A.  N >= 0.
  56.  
  57.      NCC     (input) INTEGER
  58.              The number of columns of the matrix C.  NCC >= 0.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))                                                          SSSSGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      KL      (input) INTEGER
  75.              The number of subdiagonals of the matrix A. KL >= 0.
  76.  
  77.      KU      (input) INTEGER
  78.              The number of superdiagonals of the matrix A. KU >= 0.
  79.  
  80.      AB      (input/output) REAL array, dimension (LDAB,N)
  81.              On entry, the m-by-n band matrix A, stored in rows 1 to KL+KU+1.
  82.              The j-th column of A is stored in the j-th column of the array AB
  83.              as follows:  AB(ku+1+i-j,j) = A(i,j) for max(1,j-
  84.              ku)<=i<=min(m,j+kl).  On exit, A is overwritten by values
  85.              generated during the reduction.
  86.  
  87.      LDAB    (input) INTEGER
  88.              The leading dimension of the array A. LDAB >= KL+KU+1.
  89.  
  90.      D       (output) REAL array, dimension (min(M,N))
  91.              The diagonal elements of the bidiagonal matrix B.
  92.  
  93.      E       (output) REAL array, dimension (min(M,N)-1)
  94.              The superdiagonal elements of the bidiagonal matrix B.
  95.  
  96.      Q       (output) REAL array, dimension (LDQ,M)
  97.              If VECT = 'Q' or 'B', the m-by-m orthogonal matrix Q.  If VECT =
  98.              'N' or 'P', the array Q is not referenced.
  99.  
  100.      LDQ     (input) INTEGER
  101.              The leading dimension of the array Q.  LDQ >= max(1,M) if VECT =
  102.              'Q' or 'B'; LDQ >= 1 otherwise.
  103.  
  104.      PT      (output) REAL array, dimension (LDPT,N)
  105.              If VECT = 'P' or 'B', the n-by-n orthogonal matrix P'.  If VECT =
  106.              'N' or 'Q', the array PT is not referenced.
  107.  
  108.      LDPT    (input) INTEGER
  109.              The leading dimension of the array PT.  LDPT >= max(1,N) if VECT
  110.              = 'P' or 'B'; LDPT >= 1 otherwise.
  111.  
  112.      C       (input/output) REAL array, dimension (LDC,NCC)
  113.              On entry, an m-by-ncc matrix C.  On exit, C is overwritten by
  114.              Q'*C.  C is not referenced if NCC = 0.
  115.  
  116.      LDC     (input) INTEGER
  117.              The leading dimension of the array C.  LDC >= max(1,M) if NCC >
  118.              0; LDC >= 1 if NCC = 0.
  119.  
  120.      WORK    (workspace) REAL array, dimension (2*max(M,N))
  121.  
  122.      INFO    (output) INTEGER
  123.              = 0:  successful exit.
  124.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. SSSSGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))                                                          SSSSGGGGBBBBBBBBRRRRDDDD((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.